20260117_030955.011 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.013 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.013 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.013 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": "eyJ1cGRhdGVfaWQiOiAiNTQzYjI3OWItZTFmMS00Yzc0LWFiNzktNWQyN2E0OTY0MzhiIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4wMTNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.014 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "543b279b-e1f1-4c74-ab79-5d27a496438b", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.013Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.014 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "543b279b-e1f1-4c74-ab79-5d27a496438b", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.013Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.014 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.014 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.020 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.020 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.020 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.020 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.021 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn"} 20260117_030955.021 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.021 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.025 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 20260117_030955.025 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.028 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260117_030955.029 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.029 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"}}] 20260117_030955.029 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.029 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.030 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.030 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.038 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.039 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.039 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.039 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": "eyJ1cGRhdGVfaWQiOiAiNzViZDdlOTItNTYxNy00YjMyLWI2ODktNWM3ZDU2MTc1ZGQ3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4wMzlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.040 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "75bd7e92-5617-4b32-b689-5c7d56175dd7", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.039Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.040 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "75bd7e92-5617-4b32-b689-5c7d56175dd7", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.039Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.040 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.040 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "75bd7e92-5617-4b32-b689-5c7d56175dd7", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.039Z"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.041 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"}}] 20260117_030955.041 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.041 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.041 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "75bd7e92-5617-4b32-b689-5c7d56175dd7", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.039Z"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.042 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.055 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.056 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) 20260117_030955.056 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) 20260117_030955.056 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.061 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.062 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.062 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.062 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": "eyJ1cGRhdGVfaWQiOiAiNTVkZDQ1YWUtOWM0OC00ZDA5LWI5ZDgtNzEyMThjYmIyNmZjIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4wNjJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.063 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "55dd45ae-9c48-4d09-b9d8-71218cbb26fc", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.062Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.063 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "55dd45ae-9c48-4d09-b9d8-71218cbb26fc", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.062Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.063 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.064 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "55dd45ae-9c48-4d09-b9d8-71218cbb26fc", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.062Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.064 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20260117_030955.065 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260117_030955.065 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": "eyJ1cGRhdGVfaWQiOiAiNjlmNDIxNmMtMGY3OC00OTAzLTk1YTctMTUyZTFjMzdlOWIzIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTE3VDAzOjA5OjU1LjA2NVoifQ==", "Verb": "set"}}] 20260117_030955.065 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.066 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "69f4216c-0f78-4903-95a7-152e1c37e9b3", "policies_count": 0, "action": "updated", "timestamp": "2026-01-17T03:09:55.065Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.066 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_peach_2'] 20260117_030955.066 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "69f4216c-0f78-4903-95a7-152e1c37e9b3", "policies_count": 0, "action": "updated", "timestamp": "2026-01-17T03:09:55.065Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.066 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.066 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.080 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.081 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.081 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.082 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": "eyJ1cGRhdGVfaWQiOiAiYThhNDU1MTQtMDQ3ZC00OWIwLTkxY2YtODMxMDQ1ODkyYmJjIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4wODFaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.082 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a8a45514-047d-49b0-91cf-831045892bbc", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.081Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.082 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a8a45514-047d-49b0-91cf-831045892bbc", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.081Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.082 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.083 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260117_030955.083 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260117_030955.083 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a8a45514-047d-49b0-91cf-831045892bbc", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.081Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.083 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260117_030955.084 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260117_030955.084 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": "eyJ1cGRhdGVfaWQiOiAiNjczZmQ4NjktNGRkNy00NTBjLThhMDQtMTVkODdmN2NkZTYyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTE3VDAzOjA5OjU1LjA4NFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTE3VDA0OjA5OjU0Ljk4OFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTE3VDA0OjA5OjU0Ljk4OFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}] 20260117_030955.084 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.085 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "673fd869-4dd7-450c-8a04-15d87f7cde62", "policies_count": 4, "action": "updated", "timestamp": "2026-01-17T03:09:55.084Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.085 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260117_030955.085 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260117_030955.085 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260117_030955.086 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.086 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.086 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.086 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260117_030955.086 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.102 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260117_030955.103 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.103 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"}}] 20260117_030955.103 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.103 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.104 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.104 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.111 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260117_030955.112 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.112 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"}}] 20260117_030955.112 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.112 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.113 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.113 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.120 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260117_030955.121 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.121 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"}}] 20260117_030955.121 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.121 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.122 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.122 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.130 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.131 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.131 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.131 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": "eyJ1cGRhdGVfaWQiOiAiN2ZjOGJlOGYtYjFiOC00ODVlLThhNTMtNGZlYmMzNjE4OGU0IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4xMzFaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.132 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7fc8be8f-b1b8-485e-8a53-4febc36188e4", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.131Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.132 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7fc8be8f-b1b8-485e-8a53-4febc36188e4", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.131Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.132 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.132 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7fc8be8f-b1b8-485e-8a53-4febc36188e4", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.131Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.133 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20260117_030955.133 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260117_030955.133 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": "eyJ1cGRhdGVfaWQiOiAiZGRlNTU5YjctOWI0ZC00N2U2LThlZTktN2E1NGZiNDk2YmQ3IiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTE3VDAzOjA5OjU1LjEzM1oifQ==", "Verb": "set"}}] 20260117_030955.134 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.134 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dde559b7-9b4d-47e6-8ee9-7a54fb496bd7", "policies_count": 0, "action": "updated", "timestamp": "2026-01-17T03:09:55.133Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.135 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dde559b7-9b4d-47e6-8ee9-7a54fb496bd7", "policies_count": 0, "action": "updated", "timestamp": "2026-01-17T03:09:55.133Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.135 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20260117_030955.135 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260117_030955.135 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dde559b7-9b4d-47e6-8ee9-7a54fb496bd7", "policies_count": 0, "action": "updated", "timestamp": "2026-01-17T03:09:55.133Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.136 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_peach_2'] 20260117_030955.136 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "dde559b7-9b4d-47e6-8ee9-7a54fb496bd7", "policies_count": 0, "action": "updated", "timestamp": "2026-01-17T03:09:55.133Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.136 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.136 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.155 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.156 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.156 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.157 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": "eyJ1cGRhdGVfaWQiOiAiMzk4NGY1NDAtZjJjMS00MTZjLThiYjctZDQ1ZWIxZjAzMDJkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4xNTZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.157 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "3984f540-f2c1-416c-8bb7-d45eb1f0302d", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.156Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.157 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "3984f540-f2c1-416c-8bb7-d45eb1f0302d", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.156Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.158 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.158 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "3984f540-f2c1-416c-8bb7-d45eb1f0302d", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.156Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.158 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20260117_030955.159 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260117_030955.159 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": "eyJ1cGRhdGVfaWQiOiAiZDdjNjU3YjctZWEwMC00MWYyLTk0NWEtM2VlMTAxMmVkMTE0IiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTE3VDAzOjA5OjU1LjE1OVoifQ==", "Verb": "set"}}] 20260117_030955.159 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.160 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "d7c657b7-ea00-41f2-945a-3ee1012ed114", "policies_count": 0, "action": "updated", "timestamp": "2026-01-17T03:09:55.159Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.160 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.160 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260117_030955.160 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260117_030955.161 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "d7c657b7-ea00-41f2-945a-3ee1012ed114", "policies_count": 0, "action": "updated", "timestamp": "2026-01-17T03:09:55.159Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.161 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260117_030955.161 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260117_030955.161 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": "eyJ1cGRhdGVfaWQiOiAiZTYwMTUyNjUtMDRhYS00NmQ4LWJlMjgtMjc4MWQwYjc2NmMwIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTE3VDAzOjA5OjU1LjE2MVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTE3VDA0OjA5OjU0Ljk4OFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTE3VDA0OjA5OjU0Ljk4OFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}] 20260117_030955.162 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.162 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "e6015265-04aa-46d8-be28-2781d0b766c0", "policies_count": 2, "action": "updated", "timestamp": "2026-01-17T03:09:55.161Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.162 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260117_030955.163 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260117_030955.163 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260117_030955.163 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.182 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260117_030955.183 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.183 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260117_030955.183 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.183 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.184 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.184 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.191 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.191 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) 20260117_030955.191 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) 20260117_030955.191 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.195 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 20260117_030955.195 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.198 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.199 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.200 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.200 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": "eyJ1cGRhdGVfaWQiOiAiNTllYmU4ZmUtOTRkZC00ODM2LWE3YjktMWI1ZTYxZTg2N2FlIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4yMDBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.200 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "59ebe8fe-94dd-4836-a7b9-1b5e61e867ae", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.200Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.201 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "59ebe8fe-94dd-4836-a7b9-1b5e61e867ae", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.200Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.201 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.201 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.201 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.201 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260117_030955.201 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260117_030955.202 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260117_030955.202 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260117_030955.202 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20260117_030955.202 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20260117_030955.202 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.212 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260117_030955.212 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.213 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.213 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.213 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.213 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.222 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.223 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.223 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.223 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": "eyJ1cGRhdGVfaWQiOiAiZjYwZjEyNDAtZTkwZS00MTZlLTgzN2QtNmJlNmE1NTI1NzE3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4yMjNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.224 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f60f1240-e90e-416e-837d-6be6a5525717", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.223Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.224 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f60f1240-e90e-416e-837d-6be6a5525717", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.223Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.224 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.225 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f60f1240-e90e-416e-837d-6be6a5525717", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.223Z"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.225 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"}}] 20260117_030955.225 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.225 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.226 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f60f1240-e90e-416e-837d-6be6a5525717", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.223Z"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.226 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.240 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.241 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.241 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.242 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": "eyJ1cGRhdGVfaWQiOiAiZDQ2YTRmMjktMGMyOS00OGU0LWFhNTAtYWM1OTg4NmJjMjJjIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4yNDJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.242 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "d46a4f29-0c29-48e4-aa50-ac59886bc22c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.242Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.242 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "d46a4f29-0c29-48e4-aa50-ac59886bc22c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.242Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.243 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.243 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260117_030955.243 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260117_030955.244 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "d46a4f29-0c29-48e4-aa50-ac59886bc22c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.242Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.244 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"none": null, "unexpected": "foo"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260117_030955.244 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"none": null, "unexpected": "foo"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260117_030955.244 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": "eyJ1cGRhdGVfaWQiOiAiYTBiMDc5ZDQtZDM0Yi00OWNiLWE1ZjUtNTQ2ZmM5YTg2ODQwIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTE3VDAzOjA5OjU1LjI0NFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJub25lIjogbnVsbCwgInVuZXhwZWN0ZWQiOiAiZm9vIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}] 20260117_030955.245 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.245 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a0b079d4-d34b-49cb-a5f5-546fc9a86840", "policies_count": 4, "action": "updated", "timestamp": "2026-01-17T03:09:55.244Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"none": null, "unexpected": "foo"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.246 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260117_030955.246 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"none": null, "unexpected": "foo"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260117_030955.246 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260117_030955.246 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.246 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.247 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.247 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260117_030955.247 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.263 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.264 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.264 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.264 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": "eyJ1cGRhdGVfaWQiOiAiMWIwZDdhYjMtOWRiNi00ZWU3LWExMjMtMTc1YjJmZTJkODgwIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4yNjRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.265 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1b0d7ab3-9db6-4ee7-a123-175b2fe2d880", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.264Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.265 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1b0d7ab3-9db6-4ee7-a123-175b2fe2d880", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.264Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.265 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.265 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260117_030955.265 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260117_030955.266 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1b0d7ab3-9db6-4ee7-a123-175b2fe2d880", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.264Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.266 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260117_030955.266 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260117_030955.267 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": "eyJ1cGRhdGVfaWQiOiAiNDAyYjRmNTQtNmE3Yy00NTA0LTllNTYtNDA1MDMzZDhmZGE0IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTE3VDAzOjA5OjU1LjI2NloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTE3VDA0OjA5OjU0Ljk4OFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTE3VDA0OjA5OjU0Ljk4OFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}] 20260117_030955.267 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.268 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "402b4f54-6a7c-4504-9e56-405033d8fda4", "policies_count": 4, "action": "updated", "timestamp": "2026-01-17T03:09:55.266Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.268 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260117_030955.268 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260117_030955.268 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260117_030955.268 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.268 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.269 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.269 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260117_030955.269 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.284 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.284 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260117_030955.284 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.284 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260117_030955.285 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.289 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.291 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.291 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.292 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": "eyJ1cGRhdGVfaWQiOiAiNGYwMWI4N2MtMmZmNy00OWFmLThmZjctOWYyOGU2Mjk2MjE5IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4yOTJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.292 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "4f01b87c-2ff7-49af-8ff7-9f28e6296219", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.292Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.292 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "4f01b87c-2ff7-49af-8ff7-9f28e6296219", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.292Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.293 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.293 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "4f01b87c-2ff7-49af-8ff7-9f28e6296219", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.292Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.293 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20260117_030955.294 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260117_030955.294 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": "eyJ1cGRhdGVfaWQiOiAiMzMyMzIzZTQtMzNmNS00ZDRlLTkyYjMtNDE3NzkwMmMzMDE3IiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTE3VDAzOjA5OjU1LjI5NFoifQ==", "Verb": "set"}}] 20260117_030955.294 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.295 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "332323e4-33f5-4d4e-92b3-4177902c3017", "policies_count": 0, "action": "updated", "timestamp": "2026-01-17T03:09:55.294Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.295 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260117_030955.295 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260117_030955.296 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "332323e4-33f5-4d4e-92b3-4177902c3017", "policies_count": 0, "action": "updated", "timestamp": "2026-01-17T03:09:55.294Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.296 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260117_030955.296 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260117_030955.296 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": "eyJ1cGRhdGVfaWQiOiAiODA5ZjdlNzAtODJhNy00Mzk4LWE0ZWUtZjM5MWQwYmFiODg4IiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTE3VDAzOjA5OjU1LjI5NloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTE3VDA0OjA5OjU0Ljk4OFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTE3VDA0OjA5OjU0Ljk4OFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}] 20260117_030955.297 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.297 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "809f7e70-82a7-4398-a4ee-f391d0bab888", "policies_count": 2, "action": "updated", "timestamp": "2026-01-17T03:09:55.296Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.297 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260117_030955.298 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260117_030955.298 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260117_030955.298 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.317 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.318 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.318 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.318 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": "eyJ1cGRhdGVfaWQiOiAiODAwMzhjNDMtY2FjZS00Nzg3LWI5ZGQtNWQ1YmVjMzAyZTI2IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4zMThaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.319 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "80038c43-cace-4787-b9dd-5d5bec302e26", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.318Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.319 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "80038c43-cace-4787-b9dd-5d5bec302e26", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.318Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.319 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.319 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.320 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}] 20260117_030955.320 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "80038c43-cace-4787-b9dd-5d5bec302e26", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.318Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.321 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20260117_030955.321 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.321 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach"}], "duplicate": [], "ignored": [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}], "unexpected": [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}]} 20260117_030955.321 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "80038c43-cace-4787-b9dd-5d5bec302e26", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.318Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.322 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "80038c43-cace-4787-b9dd-5d5bec302e26", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.318Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.322 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.322 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.322 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.338 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.338 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.338 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.339 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.339 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn"} 20260117_030955.339 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.339 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260117_030955.344 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.345 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260117_030955.345 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.346 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": "eyJ1cGRhdGVfaWQiOiAiNGI3MjFlZWItMjdjOC00MzlhLTk5NGYtMDc0NTdmYjI3NzJlIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xN1QwMzowOTo1NS4zNDVaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNDowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}] 20260117_030955.346 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "4b721eeb-27c8-439a-994f-07457fb2772e", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.345Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.346 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "4b721eeb-27c8-439a-994f-07457fb2772e", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.345Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}} 20260117_030955.347 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260117_030955.347 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260117_030955.347 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260117_030955.347 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "4b721eeb-27c8-439a-994f-07457fb2772e", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-17T03:09:55.345Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_hello": "ipsum", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.348 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260117_030955.348 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260117_030955.348 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": "eyJ1cGRhdGVfaWQiOiAiNmYwOWQxOGUtNjA0MS00YWE0LWFjMTAtOGVjM2ViYTgzYmU0IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTE3VDAzOjA5OjU1LjM0OFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwMzowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTE3VDA0OjA5OjU0Ljk4OFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xN1QwNjowOTo1NC45ODhaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAxLTE3VDA0OjA5OjU0Ljk4OFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}] 20260117_030955.349 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"} 20260117_030955.349 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"type": "node-instance", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6f09d18e-6041-4aa4-ac10-8ec3eba83be4", "policies_count": 4, "action": "updated", "timestamp": "2026-01-17T03:09:55.348Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-01-17T05:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-01-17T07:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "name": "", "package_version": null, "workdir": null}, "node": {"type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123"}}, "id": "test_ms_name", "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20260117_030955.349 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260117_030955.349 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260117_030955.350 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-01-17T04:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260117_030955.350 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.350 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.350 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-01-17T03:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260117_030955.350 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"policy_hello": "sit", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-01-17T06:09:54.988Z"}, "policyConfigMessage": "Config Retrieved! ", "property": null, "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260117_030955.350 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear