20250719_031116.412 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250719_031116.412 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.413 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250719_031116.413 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.413 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.413 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.413 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.419 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.420 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.421 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.421 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi40MjFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzRlN2VjZTgtMWM5ZS00YTZhLWI5NjAtMmNiNjY1MDE3M2M5IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.422 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.421Z", "action": "gathered", "update_id": "34e7ece8-1c9e-4a6a-b960-2cb6650173c9", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.422 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.421Z", "action": "gathered", "update_id": "34e7ece8-1c9e-4a6a-b960-2cb6650173c9", "policies_count": 4}} 20250719_031116.422 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.423 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.423 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_3"}] 20250719_031116.424 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.421Z", "action": "gathered", "update_id": "34e7ece8-1c9e-4a6a-b960-2cb6650173c9", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.424 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20250719_031116.424 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}} 20250719_031116.424 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_3"}], "duplicate": [], "same": [{"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"}], "unexpected": [{"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}]} 20250719_031116.425 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.421Z", "action": "gathered", "update_id": "34e7ece8-1c9e-4a6a-b960-2cb6650173c9", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.425 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.421Z", "action": "gathered", "update_id": "34e7ece8-1c9e-4a6a-b960-2cb6650173c9", "policies_count": 4}} 20250719_031116.426 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.426 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.426 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.445 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250719_031116.445 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.446 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/"}}] 20250719_031116.446 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.446 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.446 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.447 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.454 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.454 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.454 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.454 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "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": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.454 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20250719_031116.455 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20250719_031116.455 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.459 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250719_031116.460 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.460 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250719_031116.460 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.461 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.461 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.461 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.470 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.471 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.471 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.471 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi40NzFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMWRiOGVkY2MtNTg0My00OGQ5LTg5NzEtYjZkYjUwYzM3NzA0IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.472 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.471Z", "action": "gathered", "update_id": "1db8edcc-5843-48d9-8971-b6db50c37704", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.472 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.471Z", "action": "gathered", "update_id": "1db8edcc-5843-48d9-8971-b6db50c37704", "policies_count": 4}} 20250719_031116.472 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.473 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.471Z", "action": "gathered", "update_id": "1db8edcc-5843-48d9-8971-b6db50c37704", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.473 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20250719_031116.473 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250719_031116.474 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi40NzRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI3Y2RiNTkzMy1mNTVkLTQ1MTAtYjdjMC02ZGY4NzQ2ZWVmNWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250719_031116.474 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.475 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.474Z", "action": "updated", "update_id": "7cdb5933-f55d-4510-b7c0-6df8746eef5d", "policies_count": 0}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.475 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_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.475 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}] 20250719_031116.475 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250719_031116.476 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.474Z", "action": "updated", "update_id": "7cdb5933-f55d-4510-b7c0-6df8746eef5d", "policies_count": 0}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.476 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250719_031116.476 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}} 20250719_031116.477 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi40NzdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlZmFkNWI1MS00NjAyLTQ5MTUtODBiNi0zOGRjN2U3NmViZWMiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250719_031116.477 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.478 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.477Z", "action": "updated", "update_id": "efad5b51-4602-4915-80b6-38dc7e76ebec", "policies_count": 2}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.478 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250719_031116.479 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"} 20250719_031116.479 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"} 20250719_031116.479 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.500 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.501 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.501 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.501 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi41MDFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMDRhOWI2MWItYTc2My00MzcwLTk2NDQtMWE0YzQ2YWM0ZjM2IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.502 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.501Z", "action": "gathered", "update_id": "04a9b61b-a763-4370-9644-1a4c46ac4f36", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.502 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.501Z", "action": "gathered", "update_id": "04a9b61b-a763-4370-9644-1a4c46ac4f36", "policies_count": 4}} 20250719_031116.502 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.502 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.511 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.511 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.511 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.512 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "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": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.512 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20250719_031116.512 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20250719_031116.512 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.517 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250719_031116.517 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.518 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/"}}] 20250719_031116.518 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.518 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.518 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.519 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.526 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.527 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.528 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.528 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi41MjhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZGRkN2Q5MmItYjNlMS00YTU5LWI4NmMtOWQ5MWI3YjVmMjg0IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.528 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.528Z", "action": "gathered", "update_id": "ddd7d92b-b3e1-4a59-b86c-9d91b7b5f284", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.529 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.528Z", "action": "gathered", "update_id": "ddd7d92b-b3e1-4a59-b86c-9d91b7b5f284", "policies_count": 4}} 20250719_031116.529 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.529 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}] 20250719_031116.529 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250719_031116.530 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.528Z", "action": "gathered", "update_id": "ddd7d92b-b3e1-4a59-b86c-9d91b7b5f284", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.530 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250719_031116.530 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}} 20250719_031116.530 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi41MzBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlYzVjOGJhNC05MjNlLTQzZWMtYmVjMC01NjY3ZTJiMmViZDIiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.531 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.532 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.530Z", "action": "updated", "update_id": "ec5c8ba4-923e-43ec-bec0-5667e2b2ebd2", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.532 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250719_031116.532 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"} 20250719_031116.532 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"} 20250719_031116.532 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.532 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.533 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.533 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"} 20250719_031116.533 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.548 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250719_031116.549 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.549 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/"}}] 20250719_031116.549 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.549 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.550 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.550 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.558 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.559 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.559 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.560 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi41NjBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYjk2MGQxM2MtNmI3Ny00NmE3LTkzMDktMDk3OTU3ZTJiNDE2IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.560 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.560Z", "action": "gathered", "update_id": "b960d13c-6b77-46a7-9309-097957e2b416", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.560 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.560Z", "action": "gathered", "update_id": "b960d13c-6b77-46a7-9309-097957e2b416", "policies_count": 4}} 20250719_031116.561 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.561 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.560Z", "action": "gathered", "update_id": "b960d13c-6b77-46a7-9309-097957e2b416", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.561 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20250719_031116.562 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250719_031116.562 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi41NjJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIzNjkxZmJmNC00ODdkLTQ5MGItYjI1OS1iYzAyYWQ2OGNjZGEiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250719_031116.562 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.563 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.562Z", "action": "updated", "update_id": "3691fbf4-487d-490b-b259-bc02ad68ccda", "policies_count": 0}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.563 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}] 20250719_031116.563 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250719_031116.564 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.562Z", "action": "updated", "update_id": "3691fbf4-487d-490b-b259-bc02ad68ccda", "policies_count": 0}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.564 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250719_031116.564 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}} 20250719_031116.564 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi41NjRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmMTgwOGE2Yi1jMWIzLTQ0ZTEtYjM2YS01OWQzOTNlZDcxYTkiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250719_031116.565 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.565 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.564Z", "action": "updated", "update_id": "f1808a6b-c1b3-44e1-b36a-59d393ed71a9", "policies_count": 2}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.566 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250719_031116.566 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"} 20250719_031116.566 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"} 20250719_031116.566 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.585 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250719_031116.586 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.586 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.586 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.586 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.587 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.594 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.594 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) 20250719_031116.594 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) 20250719_031116.594 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.597 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 20250719_031116.597 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.601 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.602 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.602 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.603 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi42MDJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOGQwYzY1OWYtMjU2MS00YTc4LTgwYjQtZjExMGQ2ZGVlY2E5IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.603 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.602Z", "action": "gathered", "update_id": "8d0c659f-2561-4a78-80b4-f110d6deeca9", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.603 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.602Z", "action": "gathered", "update_id": "8d0c659f-2561-4a78-80b4-f110d6deeca9", "policies_count": 4}} 20250719_031116.604 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.604 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}] 20250719_031116.604 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250719_031116.604 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.602Z", "action": "gathered", "update_id": "8d0c659f-2561-4a78-80b4-f110d6deeca9", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.605 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250719_031116.605 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}} 20250719_031116.605 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi42MDVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJjZTRjNzYwZi1mZjU2LTQ3NDYtYjQzNC1hOWVmMGEwMmMxYzciLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.606 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.606 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.605Z", "action": "updated", "update_id": "ce4c760f-ff56-4746-b434-a9ef0a02c1c7", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.606 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250719_031116.606 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"} 20250719_031116.607 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"} 20250719_031116.607 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.607 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.607 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.607 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"} 20250719_031116.607 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.623 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.624 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.624 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.624 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi42MjRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZDA4OTViYzctYTAzNS00ZTgzLWE1NmMtMjA2NjUyMmRhOWU3IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.625 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.624Z", "action": "gathered", "update_id": "d0895bc7-a035-4e83-a56c-2066522da9e7", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.625 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.624Z", "action": "gathered", "update_id": "d0895bc7-a035-4e83-a56c-2066522da9e7", "policies_count": 4}} 20250719_031116.625 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.626 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.624Z", "action": "gathered", "update_id": "d0895bc7-a035-4e83-a56c-2066522da9e7", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.626 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20250719_031116.626 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250719_031116.627 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi42MjZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5MGVmNGNmNi04YTMyLTQ3ZTgtYTY3MC1jZjhlMTFlNTg3OTAiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250719_031116.627 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.627 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.626Z", "action": "updated", "update_id": "90ef4cf6-8a32-47e8-a670-cf8e11e58790", "policies_count": 0}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.628 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20250719_031116.628 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.626Z", "action": "updated", "update_id": "90ef4cf6-8a32-47e8-a670-cf8e11e58790", "policies_count": 0}} 20250719_031116.628 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.628 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.643 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.644 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.644 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.644 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi42NDRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzhjNjFlYjUtZGZjOS00ZTM1LWIzOWEtMzZiZjVjNGIzY2NiIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.645 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.644Z", "action": "gathered", "update_id": "38c61eb5-dfc9-4e35-b39a-36bf5c4b3ccb", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.645 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.644Z", "action": "gathered", "update_id": "38c61eb5-dfc9-4e35-b39a-36bf5c4b3ccb", "policies_count": 4}} 20250719_031116.645 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.645 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.646 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.646 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"} 20250719_031116.646 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"} 20250719_031116.646 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"} 20250719_031116.646 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"} 20250719_031116.646 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"} 20250719_031116.647 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"} 20250719_031116.647 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.656 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.656 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) 20250719_031116.656 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) 20250719_031116.656 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.661 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.662 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.662 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.662 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi42NjJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiY2I4ODkyMzUtYzc3Mi00NDNhLTk1M2ItMzk2NmI4MjliNTY4IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.663 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.662Z", "action": "gathered", "update_id": "cb889235-c772-443a-953b-3966b829b568", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.663 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.662Z", "action": "gathered", "update_id": "cb889235-c772-443a-953b-3966b829b568", "policies_count": 4}} 20250719_031116.663 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.663 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.662Z", "action": "gathered", "update_id": "cb889235-c772-443a-953b-3966b829b568", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.664 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/"}}] 20250719_031116.664 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.664 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.664 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.662Z", "action": "gathered", "update_id": "cb889235-c772-443a-953b-3966b829b568", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.665 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.680 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.681 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.681 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.681 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi42ODFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMDZlNzg1MzAtMWUyMy00NDZiLWEwYWQtOTA5ZDU5YTViYjQzIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.682 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.681Z", "action": "gathered", "update_id": "06e78530-1e23-446b-a0ad-909d59a5bb43", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.682 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.681Z", "action": "gathered", "update_id": "06e78530-1e23-446b-a0ad-909d59a5bb43", "policies_count": 4}} 20250719_031116.682 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.683 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}] 20250719_031116.683 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250719_031116.683 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.681Z", "action": "gathered", "update_id": "06e78530-1e23-446b-a0ad-909d59a5bb43", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.683 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250719_031116.684 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}} 20250719_031116.684 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi42ODRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIzYzg4NjljOC01ZDBiLTQyMmQtYWYwOS02MTU0ZTY3YWYyM2UiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.685 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.685 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.684Z", "action": "updated", "update_id": "3c8869c8-5d0b-422d-af09-6154e67af23e", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.685 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250719_031116.685 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"} 20250719_031116.686 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"} 20250719_031116.686 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.686 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.686 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.686 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"} 20250719_031116.686 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.702 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 20250719_031116.703 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.705 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.705 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250719_031116.706 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.706 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250719_031116.706 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.711 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.712 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.712 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.712 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi43MTJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYTQ5Y2JjNjktNTJlMi00NGYyLWE3NGQtNzMxZWNkNTM3ZTJjIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.713 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.712Z", "action": "gathered", "update_id": "a49cbc69-52e2-44f2-a74d-731ecd537e2c", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.713 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.712Z", "action": "gathered", "update_id": "a49cbc69-52e2-44f2-a74d-731ecd537e2c", "policies_count": 4}} 20250719_031116.713 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.713 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}] 20250719_031116.713 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250719_031116.714 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.712Z", "action": "gathered", "update_id": "a49cbc69-52e2-44f2-a74d-731ecd537e2c", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.714 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250719_031116.714 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}} 20250719_031116.715 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi43MTVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI1YmJmODY1Ni05NDFhLTQ1N2ItYWRkNC0xODI1OWQ3NWUzZjMiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.715 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.716 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.715Z", "action": "updated", "update_id": "5bbf8656-941a-457b-add4-18259d75e3f3", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.716 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250719_031116.716 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi_2"} 20250719_031116.716 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach_2"} 20250719_031116.716 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.717 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.717 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_peach"} 20250719_031116.717 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"} 20250719_031116.717 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.732 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.733 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.734 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.734 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi43MzRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZjQ4ZGEzMTAtYmY2Zi00YjJlLWE1NTAtZjI4YzM3NTgwNzlhIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.734 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.734Z", "action": "gathered", "update_id": "f48da310-bf6f-4b2e-a550-f28c3758079a", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.735 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.734Z", "action": "gathered", "update_id": "f48da310-bf6f-4b2e-a550-f28c3758079a", "policies_count": 4}} 20250719_031116.735 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.735 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.734Z", "action": "gathered", "update_id": "f48da310-bf6f-4b2e-a550-f28c3758079a", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.735 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/"}}] 20250719_031116.736 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.736 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.736 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.734Z", "action": "gathered", "update_id": "f48da310-bf6f-4b2e-a550-f28c3758079a", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.736 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250719_031116.751 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": 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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.752 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250719_031116.752 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.753 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi43NTNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzI0YzhjYjYtNjNjNy00ZDgyLTk5MzUtNmFmOWJkMDM0YzkwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNjoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xOVQwNDoxMToxNi4zODhaIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTlUMDY6MTE6MTYuMzg4WiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTE5VDAzOjExOjE2LjM4OFoifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250719_031116.753 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.753Z", "action": "gathered", "update_id": "324c8cb6-63c7-4d82-9935-6af9bd034c90", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.754 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.753Z", "action": "gathered", "update_id": "324c8cb6-63c7-4d82-9935-6af9bd034c90", "policies_count": 4}} 20250719_031116.754 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}} 20250719_031116.754 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-07-19T04:11:16.388Z"}}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-07-19T06:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-19T03:11:16.388Z"}}, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.753Z", "action": "gathered", "update_id": "324c8cb6-63c7-4d82-9935-6af9bd034c90", "policies_count": 4}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.754 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20250719_031116.755 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250719_031116.755 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": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xOVQwMzoxMToxNi43NTVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxZTVhMjMwMi1hZDc2LTQ4NmEtOWE4MC02MDYyYzNjZWZkZTEiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250719_031116.756 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.756 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.755Z", "action": "updated", "update_id": "1e5a2302-ad76-486a-9a80-6062c3cefde1", "policies_count": 0}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.756 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.755Z", "action": "updated", "update_id": "1e5a2302-ad76-486a-9a80-6062c3cefde1", "policies_count": 0}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.757 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20250719_031116.757 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250719_031116.757 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.755Z", "action": "updated", "update_id": "1e5a2302-ad76-486a-9a80-6062c3cefde1", "policies_count": 0}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "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": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "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": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-19T05:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "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": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "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": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-19T03:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-19T04:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-19T06:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-19T07:11:16.388Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_id": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id"} 20250719_031116.757 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20250719_031116.758 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policies_event": {"timestamp": "2025-07-19T03:11:16.755Z", "action": "updated", "update_id": "1e5a2302-ad76-486a-9a80-6062c3cefde1", "policies_count": 0}} 20250719_031116.758 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2025-07-19T03:11:16.388Z", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"} 20250719_031116.758 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear