20251122_031002.117 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251122_031002.118 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.118 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.118 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.119 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.119 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.125 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251122_031002.125 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.125 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251122_031002.125 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.126 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.126 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.126 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.134 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.135 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.135 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.136 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiN2E1YmJhYzEtMjkzMS00YWZmLTk5YTgtNDc1NWExNDYzZWRhIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi4xMzVaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.136 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7a5bbac1-2931-4aff-99a8-4755a1463eda", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.135Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.136 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7a5bbac1-2931-4aff-99a8-4755a1463eda", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.135Z"}, "exe_task": "node_configure"} 20251122_031002.137 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.137 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.145 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 20251122_031002.145 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.148 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}} 20251122_031002.148 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.148 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.148 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}} 20251122_031002.149 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}} 20251122_031002.149 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20251122_031002.149 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.153 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251122_031002.154 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.154 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251122_031002.154 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.154 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.155 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.155 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.163 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.164 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.164 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.165 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMDNkMWUyNGMtMjBiOC00MjU4LTllZjgtYjBiZDJkOWMxZWQ1IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi4xNjRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.165 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "03d1e24c-20b8-4258-9ef8-b0bd2d9c1ed5", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.164Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.165 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "03d1e24c-20b8-4258-9ef8-b0bd2d9c1ed5", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.164Z"}, "exe_task": "node_configure"} 20251122_031002.166 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.166 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "03d1e24c-20b8-4258-9ef8-b0bd2d9c1ed5", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.164Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.166 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20251122_031002.166 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.167 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.167 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "03d1e24c-20b8-4258-9ef8-b0bd2d9c1ed5", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.164Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.167 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.181 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}} 20251122_031002.181 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) 20251122_031002.181 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) 20251122_031002.181 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.185 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}} 20251122_031002.185 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.185 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.185 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}} 20251122_031002.185 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}} 20251122_031002.186 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20251122_031002.186 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.189 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 20251122_031002.190 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.193 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.194 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.194 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.195 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOGE3ZDg1YjQtODVkMi00ZWVkLWIyOTEtYWY2NTAwZWZkYTE2IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi4xOTRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.195 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8a7d85b4-85d2-4eed-b291-af6500efda16", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.194Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.195 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8a7d85b4-85d2-4eed-b291-af6500efda16", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.194Z"}, "exe_task": "node_configure"} 20251122_031002.196 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.196 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8a7d85b4-85d2-4eed-b291-af6500efda16", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.194Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.196 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"] 20251122_031002.197 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251122_031002.197 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzUyYTAwNzktOGU5Zi00NTI0LWI1NGYtYWQ5ODI2MGE1NWU3IiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjE5N1oifQ==", "Verb": "set"}}] 20251122_031002.197 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.198 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "752a0079-8e9f-4524-b54f-ad98260a55e7", "policies_count": 0, "action": "updated", "timestamp": "2025-11-22T03:10:02.197Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.198 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.198 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20251122_031002.198 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251122_031002.199 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "752a0079-8e9f-4524-b54f-ad98260a55e7", "policies_count": 0, "action": "updated", "timestamp": "2025-11-22T03:10:02.197Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.199 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251122_031002.199 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20251122_031002.199 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNTEwZDFmNTItYjA1NC00YTQ2LThiNDEtYjQ4ZTg0OTY0ZmZmIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjE5OVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjJUMDQ6MTA6MDIuMDk1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjJUMDQ6MTA6MDIuMDk1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9", "Verb": "set"}}] 20251122_031002.200 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.200 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "510d1f52-b054-4a46-8b41-b48e84964fff", "policies_count": 2, "action": "updated", "timestamp": "2025-11-22T03:10:02.199Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.200 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251122_031002.200 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20251122_031002.201 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20251122_031002.201 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.220 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.221 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.221 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.222 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTdhMzYzZTYtZTY3Yi00ZWNhLThiZGQtZjhkODBmMTQzMjU1IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi4yMjJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.222 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a7a363e6-e67b-4eca-8bdd-f8d80f143255", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.222Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.223 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a7a363e6-e67b-4eca-8bdd-f8d80f143255", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.222Z"}, "exe_task": "node_configure"} 20251122_031002.223 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.223 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.223 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi_3.3.xml"}, "policy_id": "monkeyed.Config_multi_3"}] 20251122_031002.224 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a7a363e6-e67b-4eca-8bdd-f8d80f143255", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.222Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.224 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi_3.3.xml"}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_multi_2.4.xml"}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20251122_031002.224 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}, "policy_id": "monkeyed.Config_peach_2"}} 20251122_031002.224 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"}], "duplicate": [], "unexpected": [{"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi_3.3.xml"}, "policy_id": "monkeyed.Config_multi_3"}]} 20251122_031002.225 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a7a363e6-e67b-4eca-8bdd-f8d80f143255", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.222Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.225 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a7a363e6-e67b-4eca-8bdd-f8d80f143255", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.222Z"}, "exe_task": "node_configure"} 20251122_031002.225 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.225 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.226 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.242 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.243 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.243 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.243 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOTM5ZDFhMjMtN2RmOS00OGQ5LTg5NGMtNDA0OWRkYTZmMTQwIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi4yNDNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.244 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "939d1a23-7df9-48d9-894c-4049dda6f140", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.243Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.244 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "939d1a23-7df9-48d9-894c-4049dda6f140", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.243Z"}, "exe_task": "node_configure"} 20251122_031002.244 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.244 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20251122_031002.244 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251122_031002.245 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "939d1a23-7df9-48d9-894c-4049dda6f140", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.243Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.245 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251122_031002.245 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20251122_031002.246 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZjE4NDkwN2UtZTE1MC00ZmUwLWI1MDktN2JjMzQ4NjRjOGEyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjI0NloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjJUMDQ6MTA6MDIuMDk1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjJUMDQ6MTA6MDIuMDk1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.246 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.247 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f184907e-e150-4fe0-b509-7bc34864c8a2", "policies_count": 4, "action": "updated", "timestamp": "2025-11-22T03:10:02.246Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.247 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251122_031002.247 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20251122_031002.247 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20251122_031002.247 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.248 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.248 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.248 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20251122_031002.248 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.262 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}} 20251122_031002.262 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) 20251122_031002.263 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) 20251122_031002.263 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.267 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251122_031002.267 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.267 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251122_031002.267 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.268 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.268 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.268 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.276 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.277 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.277 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.277 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNTU5YjE5MTYtMWFkMS00NDA1LWI0YWMtMDVkNmY5ODRjNmZmIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi4yNzdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.278 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "559b1916-1ad1-4405-b4ac-05d6f984c6ff", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.277Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.278 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "559b1916-1ad1-4405-b4ac-05d6f984c6ff", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.277Z"}, "exe_task": "node_configure"} 20251122_031002.278 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.279 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "559b1916-1ad1-4405-b4ac-05d6f984c6ff", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.277Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.279 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"] 20251122_031002.279 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251122_031002.280 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiY2UxMGZhNGYtN2NlYi00YjZhLTg0ZDAtYTlhMjA3NWZjODFjIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjI3OVoifQ==", "Verb": "set"}}] 20251122_031002.280 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.280 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "ce10fa4f-7ceb-4b6a-84d0-a9a2075fc81c", "policies_count": 0, "action": "updated", "timestamp": "2025-11-22T03:10:02.279Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.281 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20251122_031002.281 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "ce10fa4f-7ceb-4b6a-84d0-a9a2075fc81c", "policies_count": 0, "action": "updated", "timestamp": "2025-11-22T03:10:02.279Z"}, "exe_task": "node_configure"} 20251122_031002.281 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.281 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.296 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251122_031002.296 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.296 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251122_031002.296 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.297 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.297 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.297 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.305 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.306 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.306 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.306 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGQ5MDBmYzMtMDA1Ny00ZWRlLTllNzQtNWZmZjJiZDEzNzRiIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi4zMDZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.307 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dd900fc3-0057-4ede-9e74-5fff2bd1374b", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.306Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.307 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dd900fc3-0057-4ede-9e74-5fff2bd1374b", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.306Z"}, "exe_task": "node_configure"} 20251122_031002.307 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.307 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dd900fc3-0057-4ede-9e74-5fff2bd1374b", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.306Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.308 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"] 20251122_031002.308 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251122_031002.308 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiM2FhMDE2MDgtODM0MS00OGMwLTg2MDMtYTU2NjIxZDY3ODEwIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjMwOFoifQ==", "Verb": "set"}}] 20251122_031002.309 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.309 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "3aa01608-8341-48c0-8603-a56621d67810", "policies_count": 0, "action": "updated", "timestamp": "2025-11-22T03:10:02.308Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.309 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20251122_031002.310 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251122_031002.310 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "3aa01608-8341-48c0-8603-a56621d67810", "policies_count": 0, "action": "updated", "timestamp": "2025-11-22T03:10:02.308Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.310 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251122_031002.310 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20251122_031002.311 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTBiNDMxMDAtOTIzMC00OGEzLWEwNzYtZTZhNmQ3YTUxNmZiIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjMxMVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjJUMDQ6MTA6MDIuMDk1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjJUMDQ6MTA6MDIuMDk1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9", "Verb": "set"}}] 20251122_031002.311 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.312 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "10b43100-9230-48a3-a076-e6a6d7a516fb", "policies_count": 2, "action": "updated", "timestamp": "2025-11-22T03:10:02.311Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.312 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251122_031002.312 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20251122_031002.312 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20251122_031002.312 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.332 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.333 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.333 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.333 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGNiMmM3MmUtNmQ4OC00MzQ1LTk0N2ItMGIxNTdkYzJiYjQ2IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi4zMzNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.334 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dcb2c72e-6d88-4345-947b-0b157dc2bb46", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.333Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.334 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dcb2c72e-6d88-4345-947b-0b157dc2bb46", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.333Z"}, "exe_task": "node_configure"} 20251122_031002.334 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.334 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dcb2c72e-6d88-4345-947b-0b157dc2bb46", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.333Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.335 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"] 20251122_031002.335 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251122_031002.335 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjg0MmUzYTItYTY5OS00MDZhLTliZGEtYTk1MmQzMjI5NzljIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjMzNVoifQ==", "Verb": "set"}}] 20251122_031002.336 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.336 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6842e3a2-a699-406a-9bda-a952d322979c", "policies_count": 0, "action": "updated", "timestamp": "2025-11-22T03:10:02.335Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.337 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6842e3a2-a699-406a-9bda-a952d322979c", "policies_count": 0, "action": "updated", "timestamp": "2025-11-22T03:10:02.335Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.337 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"] 20251122_031002.337 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251122_031002.337 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6842e3a2-a699-406a-9bda-a952d322979c", "policies_count": 0, "action": "updated", "timestamp": "2025-11-22T03:10:02.335Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.338 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20251122_031002.338 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6842e3a2-a699-406a-9bda-a952d322979c", "policies_count": 0, "action": "updated", "timestamp": "2025-11-22T03:10:02.335Z"}, "exe_task": "node_configure"} 20251122_031002.338 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.338 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.355 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}} 20251122_031002.355 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251122_031002.356 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}} 20251122_031002.356 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251122_031002.356 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.360 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.361 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.362 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.362 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjVjYjBhNGYtOTkxNi00OTU1LTg1ZDItYzEzMTA0ZmRjYjIxIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi4zNjJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.362 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "65cb0a4f-9916-4955-85d2-c13104fdcb21", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.362Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.363 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "65cb0a4f-9916-4955-85d2-c13104fdcb21", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.362Z"}, "exe_task": "node_configure"} 20251122_031002.363 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.363 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20251122_031002.363 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251122_031002.364 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "65cb0a4f-9916-4955-85d2-c13104fdcb21", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.362Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.364 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251122_031002.364 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20251122_031002.364 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZWFhM2QyYzYtZmEyZC00OWJjLWJiMTYtYmRmNjE0NTBiNTg0IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjM2NFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7Im5vbmUiOiBudWxsLCAidW5leHBlY3RlZCI6ICJmb28ifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.365 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.365 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "eaa3d2c6-fa2d-49bc-bb16-bdf61450b584", "policies_count": 4, "action": "updated", "timestamp": "2025-11-22T03:10:02.364Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.366 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251122_031002.366 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20251122_031002.366 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20251122_031002.366 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.366 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.366 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.366 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20251122_031002.367 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.382 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.383 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.383 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.383 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYjM0ZjFhYmItZDNjZC00OWU5LWFjOWMtYWNlN2E3YTBjN2Y1IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi4zODNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.384 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b34f1abb-d3cd-49e9-ac9c-ace7a7a0c7f5", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.383Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.384 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b34f1abb-d3cd-49e9-ac9c-ace7a7a0c7f5", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.383Z"}, "exe_task": "node_configure"} 20251122_031002.384 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.385 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20251122_031002.385 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251122_031002.385 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b34f1abb-d3cd-49e9-ac9c-ace7a7a0c7f5", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.383Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.386 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251122_031002.386 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20251122_031002.386 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDJjMmE4MTgtZmI0Ni00MmJhLTg5YjYtNzZhOWQ3MzMzYjI4IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjM4NloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjJUMDQ6MTA6MDIuMDk1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjJUMDQ6MTA6MDIuMDk1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.387 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.387 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "42c2a818-fb46-42ba-89b6-76a9d7333b28", "policies_count": 4, "action": "updated", "timestamp": "2025-11-22T03:10:02.386Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.387 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251122_031002.387 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20251122_031002.388 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20251122_031002.388 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.388 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.388 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.388 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20251122_031002.388 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.406 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.407 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.407 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.407 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDJmZGYyNWQtNmIwZC00ODU2LTkyZjktNDJjZjJjZmEyZWE0IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi40MDdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.408 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "42fdf25d-6b0d-4856-92f9-42cf2cfa2ea4", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.407Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.408 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "42fdf25d-6b0d-4856-92f9-42cf2cfa2ea4", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.407Z"}, "exe_task": "node_configure"} 20251122_031002.408 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.409 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "42fdf25d-6b0d-4856-92f9-42cf2cfa2ea4", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.407Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.409 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20251122_031002.409 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.409 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.410 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "42fdf25d-6b0d-4856-92f9-42cf2cfa2ea4", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.407Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.410 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.425 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.426 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.426 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.426 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiM2MxOTlhYzItN2MzZi00MTgyLWE2NmQtNjc5NGQ0ODRiZDcxIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi40MjZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.427 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "3c199ac2-7c3f-4182-a66d-6794d484bd71", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.426Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.427 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "3c199ac2-7c3f-4182-a66d-6794d484bd71", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.426Z"}, "exe_task": "node_configure"} 20251122_031002.427 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.427 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20251122_031002.427 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251122_031002.428 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "3c199ac2-7c3f-4182-a66d-6794d484bd71", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.426Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.428 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251122_031002.428 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20251122_031002.429 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODNhYWFjNjItNTNhZS00NGIwLWI4NDktYzE2MzE5M2RiNjdjIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjQyOVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjJUMDQ6MTA6MDIuMDk1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMjJUMDQ6MTA6MDIuMDk1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.429 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.430 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"update_id": "83aaac62-53ae-44b0-b849-c163193db67c", "policies_count": 4, "action": "updated", "timestamp": "2025-11-22T03:10:02.429Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.430 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251122_031002.430 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20251122_031002.430 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20251122_031002.431 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.431 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.431 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.431 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20251122_031002.431 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.447 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251122_031002.447 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.447 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251122_031002.448 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.448 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.448 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.448 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251122_031002.456 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.457 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251122_031002.457 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20251122_031002.457 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGY3ZWE2MTctYjVmMC00ZTJhLTg2MGEtYzY1OWVjY2Y3NzdlIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0yMlQwMzoxMDowMi40NTdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA0OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDA2OjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTIyVDAzOjEwOjAyLjA5NVoifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0=", "Verb": "set"}}] 20251122_031002.458 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_from_ver": "0"}}}, "type": "node-instance", "task_queue": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "df7ea617-b5f0-4e2a-860a-c659eccf777e", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.457Z"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "3", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T05:10:02.095Z", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyVersion": "5", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T07:10:02.095Z", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}} 20251122_031002.458 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"db_port": "123", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"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"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "df7ea617-b5f0-4e2a-860a-c659eccf777e", "policies_count": 4, "action": "gathered", "timestamp": "2025-11-22T03:10:02.457Z"}, "exe_task": "node_configure"} 20251122_031002.458 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251122_031002.458 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"policyVersion": "1", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-11-22T03:10:02.095Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.459 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-22T03:10:02.095Z"}, "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20251122_031002.459 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20251122_031002.459 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20251122_031002.459 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"policyVersion": "4", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-11-22T06:10:02.095Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20251122_031002.459 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-22T06:10:02.095Z"}, "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20251122_031002.459 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"policyVersion": "2", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-11-22T04:10:02.095Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20251122_031002.460 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-22T04:10:02.095Z"}, "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20251122_031002.460 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear