20251115_031005.226 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251115_031005.227 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.227 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251115_031005.228 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.228 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.228 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.228 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.236 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.237 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.237 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.237 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4yMzdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZTcwYjZiY2MtM2MyZi00ZDk0LTgyNmMtYTJmOWU5ZjRiZWYxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.238 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.237Z", "policies_count": 4, "action": "gathered", "update_id": "e70b6bcc-3c2f-4d94-826c-a2f9e9f4bef1"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.238 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.237Z", "policies_count": 4, "action": "gathered", "update_id": "e70b6bcc-3c2f-4d94-826c-a2f9e9f4bef1"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.238 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.239 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.237Z", "policies_count": 4, "action": "gathered", "update_id": "e70b6bcc-3c2f-4d94-826c-a2f9e9f4bef1"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.239 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20251115_031005.240 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251115_031005.240 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4yNDBaIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI1NzdmMDA4MS1lZmYzLTRjM2ItYjg5Yy01MWI1NzA1NjFjODAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20251115_031005.240 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.241 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.240Z", "policies_count": 0, "action": "updated", "update_id": "577f0081-eff3-4c3b-b89c-51b570561c80"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.241 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20251115_031005.241 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251115_031005.241 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.240Z", "policies_count": 0, "action": "updated", "update_id": "577f0081-eff3-4c3b-b89c-51b570561c80"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.242 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251115_031005.242 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.242 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4yNDJaIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI3YWJjZWJlZS0wYTg5LTRiNWQtOTFlZi0wYjMzNTdiNDAzZTIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0xNVQwNDoxMDowNS4yMDNaIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0xNVQwNDoxMDowNS4yMDNaIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.243 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.243 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.242Z", "policies_count": 2, "action": "updated", "update_id": "7abcebee-0a89-4b5d-91ef-0b3357b403e2"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.243 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251115_031005.243 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.244 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.244 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.263 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.264 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.264 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.265 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4yNjRaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOGY2NTNjMDctZmFlZC00YmFlLWJkYjEtZjEwN2M4ZTIzZTA3In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.265 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.264Z", "policies_count": 4, "action": "gathered", "update_id": "8f653c07-faed-4bae-bdb1-f107c8e23e07"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.265 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.264Z", "policies_count": 4, "action": "gathered", "update_id": "8f653c07-faed-4bae-bdb1-f107c8e23e07"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.265 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.266 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20251115_031005.266 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251115_031005.266 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", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.264Z", "policies_count": 4, "action": "gathered", "update_id": "8f653c07-faed-4bae-bdb1-f107c8e23e07"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.266 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251115_031005.267 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.267 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4yNjdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI4MDRlYmU3Mi02ODA2LTQ1NTAtOWMwMi0yNzk5MTYwZmZkYzAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0xNVQwNDoxMDowNS4yMDNaIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0xNVQwNDoxMDowNS4yMDNaIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.268 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.268 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", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.267Z", "policies_count": 4, "action": "updated", "update_id": "804ebe72-6806-4550-9c02-2799160ffdc0"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.268 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251115_031005.268 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.268 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.269 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.269 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.269 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.269 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.269 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.285 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.286 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.286 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.286 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4yODZaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOWYxMTA2OTctNTMyOC00NWM3LWIzN2UtZjU3MjFlMjA3MTY3In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.287 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.286Z", "policies_count": 4, "action": "gathered", "update_id": "9f110697-5328-45c7-b37e-f5721e207167"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.287 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.286Z", "policies_count": 4, "action": "gathered", "update_id": "9f110697-5328-45c7-b37e-f5721e207167"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.287 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.288 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.286Z", "policies_count": 4, "action": "gathered", "update_id": "9f110697-5328-45c7-b37e-f5721e207167"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.288 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20251115_031005.288 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251115_031005.289 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4yODlaIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhYjViZGJjOS0wOTNiLTRhNzEtYjNhMy02ZjE4ZmU4OWZhNjgifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20251115_031005.289 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.290 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.289Z", "policies_count": 0, "action": "updated", "update_id": "ab5bdbc9-093b-4a71-b3a3-6f18fe89fa68"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.290 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251115_031005.290 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20251115_031005.290 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251115_031005.290 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.289Z", "policies_count": 0, "action": "updated", "update_id": "ab5bdbc9-093b-4a71-b3a3-6f18fe89fa68"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.291 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251115_031005.291 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.291 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4yOTFaIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmOTRmNGVkZS1hMTlmLTQzMjYtYTIwYS1hMTg3ZTRiYjQzZWEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0xNVQwNDoxMDowNS4yMDNaIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0xNVQwNDoxMDowNS4yMDNaIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.292 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.292 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.291Z", "policies_count": 2, "action": "updated", "update_id": "f94f4ede-a19f-4326-a20a-a187e4bb43ea"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.292 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251115_031005.292 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.292 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.293 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.313 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.314 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.314 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.314 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4zMTRaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDA5YmUyMTktNzRlZS00YzhlLWI4NzEtNTIxZGFmZTE5M2M5In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.315 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.314Z", "policies_count": 4, "action": "gathered", "update_id": "409be219-74ee-4c8e-b871-521dafe193c9"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.315 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.314Z", "policies_count": 4, "action": "gathered", "update_id": "409be219-74ee-4c8e-b871-521dafe193c9"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.315 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.316 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.316 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}] 20251115_031005.316 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.314Z", "policies_count": 4, "action": "gathered", "update_id": "409be219-74ee-4c8e-b871-521dafe193c9"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.317 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["<<>>"] 20251115_031005.317 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.317 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}], "duplicate": [], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}]} 20251115_031005.317 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.314Z", "policies_count": 4, "action": "gathered", "update_id": "409be219-74ee-4c8e-b871-521dafe193c9"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.318 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.314Z", "policies_count": 4, "action": "gathered", "update_id": "409be219-74ee-4c8e-b871-521dafe193c9"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.318 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.318 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.318 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.335 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.336 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.336 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.336 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4zMzZaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNmYzNGVmOTMtNmFiMi00ZTQ4LWI0MGMtNjcyMzIxYzcyZGQxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.337 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.336Z", "policies_count": 4, "action": "gathered", "update_id": "6f34ef93-6ab2-4e48-b40c-672321c72dd1"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.337 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.336Z", "policies_count": 4, "action": "gathered", "update_id": "6f34ef93-6ab2-4e48-b40c-672321c72dd1"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.337 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.337 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.337 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.338 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.338 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.338 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.338 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.338 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.338 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.338 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.348 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.348 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.348 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.348 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.349 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20251115_031005.349 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251115_031005.349 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.354 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.355 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.355 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.355 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4zNTVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDNiYjhmOGItOGEyYS00YTRhLWIyMWMtMWUyOWMzYjZmOTZkIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.356 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.355Z", "policies_count": 4, "action": "gathered", "update_id": "43bb8f8b-8a2a-4a4a-b21c-1e29c3b6f96d"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.356 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.355Z", "policies_count": 4, "action": "gathered", "update_id": "43bb8f8b-8a2a-4a4a-b21c-1e29c3b6f96d"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.356 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.356 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.366 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.367 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.367 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.367 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4zNjdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOTUzMzBhZTQtN2IxZi00NzBjLTlmMTAtNWE0ZjE3OGEyNjg0In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.368 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.367Z", "policies_count": 4, "action": "gathered", "update_id": "95330ae4-7b1f-470c-9f10-5a4f178a2684"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.368 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.367Z", "policies_count": 4, "action": "gathered", "update_id": "95330ae4-7b1f-470c-9f10-5a4f178a2684"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.368 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.368 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20251115_031005.368 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251115_031005.369 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.367Z", "policies_count": 4, "action": "gathered", "update_id": "95330ae4-7b1f-470c-9f10-5a4f178a2684"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.369 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251115_031005.369 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.370 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4zNzBaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhYmI2MTI1Zi1hZGY0LTQwZTUtYmUzZi0zNDFhNjE2NWNhYTAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0xNVQwNDoxMDowNS4yMDNaIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0xNVQwNDoxMDowNS4yMDNaIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.370 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.371 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.370Z", "policies_count": 4, "action": "updated", "update_id": "abb6125f-adf4-40e5-be3f-341a6165caa0"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.371 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251115_031005.371 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.371 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.371 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.372 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.372 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.372 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.372 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.387 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.387 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20251115_031005.387 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) 20251115_031005.387 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.392 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.393 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.393 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.393 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4zOTNaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMjljMDlkZGItNjBiYS00NzQ3LWJhODItNjJmMzIwMGIxYTc3In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.394 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.393Z", "policies_count": 4, "action": "gathered", "update_id": "29c09ddb-60ba-4747-ba82-62f3200b1a77"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.394 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.393Z", "policies_count": 4, "action": "gathered", "update_id": "29c09ddb-60ba-4747-ba82-62f3200b1a77"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.394 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.395 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.393Z", "policies_count": 4, "action": "gathered", "update_id": "29c09ddb-60ba-4747-ba82-62f3200b1a77"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.395 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20251115_031005.395 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251115_031005.396 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS4zOTVaIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5YTRlMmJlYy1lYzZmLTQ5MmUtOTkwYy1lNDJlMjQzNWU5NGUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20251115_031005.396 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.396 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.395Z", "policies_count": 0, "action": "updated", "update_id": "9a4e2bec-ec6f-492e-990c-e42e2435e94e"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.397 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.395Z", "policies_count": 0, "action": "updated", "update_id": "9a4e2bec-ec6f-492e-990c-e42e2435e94e"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.397 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20251115_031005.397 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251115_031005.398 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.395Z", "policies_count": 0, "action": "updated", "update_id": "9a4e2bec-ec6f-492e-990c-e42e2435e94e"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.398 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20251115_031005.398 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.395Z", "policies_count": 0, "action": "updated", "update_id": "9a4e2bec-ec6f-492e-990c-e42e2435e94e"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20251115_031005.398 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.398 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.417 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.418 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.418 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.419 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS40MTlaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDJjZmNiYmEtYjNmMC00NmQ0LWJlMjEtMTkyNDJiZDU4NGJjIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.419 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.419Z", "policies_count": 4, "action": "gathered", "update_id": "42cfcbba-b3f0-46d4-be21-19242bd584bc"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.419 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.419Z", "policies_count": 4, "action": "gathered", "update_id": "42cfcbba-b3f0-46d4-be21-19242bd584bc"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.420 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.420 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20251115_031005.420 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251115_031005.421 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.419Z", "policies_count": 4, "action": "gathered", "update_id": "42cfcbba-b3f0-46d4-be21-19242bd584bc"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.421 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251115_031005.421 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.422 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS40MjJaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI3MjBlYTk2ZC1iNzYyLTQxNzYtOGEyNi02ZGNmYzMwZGI3YzEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0xNVQwNDoxMDowNS4yMDNaIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0xNVQwNDoxMDowNS4yMDNaIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.422 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.423 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.422Z", "policies_count": 4, "action": "updated", "update_id": "720ea96d-b762-4176-8a26-6dcfc30db7c1"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.423 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251115_031005.423 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.423 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.423 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.424 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.424 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.424 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.424 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.439 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251115_031005.440 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.440 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251115_031005.440 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.440 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.441 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.441 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.448 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251115_031005.449 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.449 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251115_031005.449 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.449 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.450 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.450 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.457 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251115_031005.458 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.458 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.458 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.459 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.459 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.465 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.466 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.466 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.466 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.466 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20251115_031005.466 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251115_031005.467 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.470 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.471 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20251115_031005.471 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) 20251115_031005.471 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.476 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251115_031005.476 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.477 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251115_031005.477 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.477 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.477 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.478 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.484 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.484 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251115_031005.485 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.485 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251115_031005.485 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.490 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.491 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.491 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.491 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS40OTFaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYmRjZWM5NjUtM2U1Mi00ZWRiLWExMDUtNDYxNzBlYWQxZmExIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.492 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.491Z", "policies_count": 4, "action": "gathered", "update_id": "bdcec965-3e52-4edb-a105-46170ead1fa1"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.492 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.491Z", "policies_count": 4, "action": "gathered", "update_id": "bdcec965-3e52-4edb-a105-46170ead1fa1"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.492 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.492 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.491Z", "policies_count": 4, "action": "gathered", "update_id": "bdcec965-3e52-4edb-a105-46170ead1fa1"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.493 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20251115_031005.493 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.493 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.493 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.491Z", "policies_count": 4, "action": "gathered", "update_id": "bdcec965-3e52-4edb-a105-46170ead1fa1"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.494 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.507 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 20251115_031005.507 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.511 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.512 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.512 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.513 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS41MTJaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiM2Q1Mzk1ZmQtZTAyOC00MGIyLWE2MzItZmI1ZmNkYmM5MTdjIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.513 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.512Z", "policies_count": 4, "action": "gathered", "update_id": "3d5395fd-e028-40b2-a632-fb5fcdbc917c"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.513 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.512Z", "policies_count": 4, "action": "gathered", "update_id": "3d5395fd-e028-40b2-a632-fb5fcdbc917c"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.513 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.514 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20251115_031005.514 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251115_031005.514 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.512Z", "policies_count": 4, "action": "gathered", "update_id": "3d5395fd-e028-40b2-a632-fb5fcdbc917c"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.514 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251115_031005.515 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.515 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS41MTVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI0MTJlNDI0Ny1jNjZhLTQzYTMtOWY3MS0xYzMzNTYyNmVlYWMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.516 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.516 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.515Z", "policies_count": 4, "action": "updated", "update_id": "412e4247-c66a-43a3-9f71-1c335626eeac"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.516 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251115_031005.516 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.516 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.517 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.517 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.517 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.517 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}} 20251115_031005.517 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.532 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 20251115_031005.532 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.535 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.536 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.537 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.537 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS41MzdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOGY2ZTlmYWItYjM5Ni00YjZmLWI3MjYtMGUxYmJlYjBiODIwIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.537 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.537Z", "policies_count": 4, "action": "gathered", "update_id": "8f6e9fab-b396-4b6f-b726-0e1bbeb0b820"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.538 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.537Z", "policies_count": 4, "action": "gathered", "update_id": "8f6e9fab-b396-4b6f-b726-0e1bbeb0b820"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.538 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.538 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.537Z", "policies_count": 4, "action": "gathered", "update_id": "8f6e9fab-b396-4b6f-b726-0e1bbeb0b820"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.539 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20251115_031005.539 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251115_031005.539 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS41MzlaIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlY2IwMjBkZS1lYzA5LTRhYWQtOGU1OS00YmIzMWQ3YjQwMjAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20251115_031005.540 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.540 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.539Z", "policies_count": 0, "action": "updated", "update_id": "ecb020de-ec09-4aad-8e59-4bb31d7b4020"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.540 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20251115_031005.540 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.539Z", "policies_count": 0, "action": "updated", "update_id": "ecb020de-ec09-4aad-8e59-4bb31d7b4020"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20251115_031005.541 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.541 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.555 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.556 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.557 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.557 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0xNVQwMzoxMDowNS41NTdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZGM1YzllMmEtNTIwMC00NjViLWI0MDQtMTRkZTBiZGMyYWMzIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA0OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDAzOjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTE1VDA2OjEwOjA1LjIwM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20251115_031005.557 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.557Z", "policies_count": 4, "action": "gathered", "update_id": "dc5c9e2a-5200-465b-b404-14de0bdc2ac3"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.558 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.557Z", "policies_count": 4, "action": "gathered", "update_id": "dc5c9e2a-5200-465b-b404-14de0bdc2ac3"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_configure"} 20251115_031005.558 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}} 20251115_031005.558 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.557Z", "policies_count": 4, "action": "gathered", "update_id": "dc5c9e2a-5200-465b-b404-14de0bdc2ac3"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.559 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20251115_031005.559 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.559 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.559 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {"timestamp": "2025-11-15T03:10:05.557Z", "policies_count": 4, "action": "gathered", "update_id": "dc5c9e2a-5200-465b-b404-14de0bdc2ac3"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-15T04:10:05.203Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-15T06:10:05.203Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.560 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251115_031005.574 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251115_031005.574 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.575 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251115_031005.575 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251115_031005.575 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20251115_031005.575 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "workflow_id": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T05:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {}, "id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T03:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T04:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T06:10:05.203Z"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-15T07:10:05.203Z"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "node": {"properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-11-15T03:10:05.203Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null} 20251115_031005.576 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear